home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2001 December
/
pcwk12201b.iso
/
Wersje pelne i specjalne
/
Ghostscript 7.0
/
gs700w32.exe
/
gs7.00
/
lib
/
eps2eps.bat
< prev
next >
Wrap
DOS Batch File
|
2000-12-30
|
612b
|
27 lines
@echo off
@rem $Id: eps2eps.bat,v 1.4 2000/12/30 18:45:37 alexcher Exp $
@rem "Distill" Encapsulated PostScript.
if "%1"=="" goto usage
if "%2"=="" goto usage
call gssetgs.bat
echo -dNOPAUSE -dBATCH -dSAFER >_.at
rem Watcom C deletes = signs, so use # instead.
echo -dDEVICEWIDTH#250000 -dDEVICEHEIGHT#250000 >>_.at
:cp
if "%3"=="" goto doit
echo %1 >>_.at
shift
goto cp
:doit
rem Watcom C deletes = signs, so use # instead.
%GSC% -q -sDEVICE#epswrite -sOutputFile#%2 @_.at %1
if exist _.at erase _.at
goto end
:usage
echo "Usage: eps2eps ...switches... input.eps output.eps"
:end